html,
body,
#root {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji';
}

.colorWeak {
  filter: invert(80%);
}

.ant-layout {
  min-height: 100vh;
}
.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed {
  left: unset;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

@media (max-width: 768px) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}

// 滚动条优化less
::-webkit-scrollbar {
  height: 3px;
  width: 5px;
  overflow-y: auto;
}
::-webkit-scrollbar-thumb {
  border-radius: 5px;
  -webkit-box-shadow: inset 0 0 5px rgba(89, 89, 89, 0.2);
  background: #939392;
}
::-webkit-scrollbar-track {
  -webkit-box-shadow: none;
  border-radius: 0;
  background: #f0f2f5;
}

// 设置表格最低高度，以免适配滚动条时展示过于紧凑
.ant-table-content {
  min-height:110px !important;
}

// 移动端活动扫码签到界面，设置主标题字体大小
:root:root {
  --adm-font-size-10: 28px;
}

.ant-form-custom label {
  width: 280px;
}

// fullcalendar日历，周末的背景颜色修改
td.fc-day-sat{
  background: #e8eaec;
}
td.fc-day-sun{
  background: #e8eaec;
}
td.fc-day-sat>div>div>a{
  color: red;
}
td.fc-day-sun>div>div>a{
  color: red;
}
th.fc-day-sat>div>a{
  color: red;
}th.fc-day-sun>div>a{
   color: red;
 }

// 日历事件背景颜色
.fullcalendar_zjsw_1 {
  background-color: #0073b7;
  color: white;
}
.fullcalendar_zjsw_2 {
  background-color: #f56954;
  color: white;
}
// 日历事件背景颜色
.fullcalendar_zjpj_1 {
  background-color: #007bff;
  color: white;
}
.fullcalendar_zjpj_2 {
  background-color: red;
  color: white;
}

